package com.yonyou.ucf.mdf.app.isvdxq.firstpart.location.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.google.gson.Gson;
import com.yonyou.iuap.yms.param.BaseEntity;
import com.yonyou.iuap.yms.annotation.*;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@YMSEntity
@YMSTable(tableName = "dxq_location")
public class LocationEntity extends BaseEntity {
    //'ID',
    private String id;

    //'货位名称',
    private String locationName;

    //'货位编码',
    private String locationCode;

    //'RFid标签',
    @YMSColumn(name = "rfid_code")
    private String rfid_code;

    //'仓库编码',
    @YMSColumn(name = "warehouse_code")
    private String warehouse_code;

    //'仓库id',
    @YMSColumn(name = "warehouse_id")
    private String warehouse_id;

    //仓库民称
    @YMSColumn(name = "warehouse_name")
    private String warehouse_name;

    //父级名称
    @YMSColumn(name = "parent_name")
    private String parent_name;

    //父级主键
    @YMSColumn(name = "parent_id")
    private String parent_id;

    //'货位层级',
    private Integer level;

    //是否末级
    private Boolean isEnd;

    //节点标题
    private String name;

    //路径
    private String path;

    //排序
    @YMSColumn(name = "sort_num")
    private Integer sort_num;

    //'版本'
    private Integer version;

    //'删除标记'
    private Integer dr;

    //'租户id'
    @YMSColumn(name = "tenant_id")
    private String tenant_id;

    //'模版'
    @YMSColumn(name = "pk_temp")
    private String pk_temp;

    // datetime COMMENT '创建时间',
    @YMSColumn(name = "create_time")
    private String create_time;

    //'修改时间',
    @YMSColumn(name = "modify_time")
    private String modify_time;

    //'创建人'
    private String creator;

    //'修改人',
    private String modifier;

    @YMSColumn(name = "org_id")
    private String org_id;

    private String pubts;

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }

    public Boolean getIsEnd() {
        return isEnd;
    }

    public void setIsEnd(Boolean isEnd) {
        this.isEnd = isEnd;
    }

    public String getPubts() {
        return pubts;
    }

    public void setPubts(String pubts) {
        this.pubts = pubts;
    }

    public String getOrg_id() {
        return org_id;
    }

    public void setOrg_id(String org_id) {
        this.org_id = org_id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLocationName() {
        return locationName;
    }

    public void setLocationName(String locationName) {
        this.locationName = locationName;
    }

    public String getLocationCode() {
        return locationCode;
    }

    public void setLocationCode(String locationCode) {
        this.locationCode = locationCode;
    }

    public String getRfid_code() {
        return rfid_code;
    }

    public void setRfid_code(String rfid_code) {
        this.rfid_code = rfid_code;
    }

    public String getWarehouse_code() {
        return warehouse_code;
    }

    public void setWarehouse_code(String warehouse_code) {
        this.warehouse_code = warehouse_code;
    }

    public String getWarehouse_id() {
        return warehouse_id;
    }

    public void setWarehouse_id(String warehouse_id) {
        this.warehouse_id = warehouse_id;
    }

    public String getWarehouse_name() {
        return warehouse_name;
    }

    public void setWarehouse_name(String warehouse_name) {
        this.warehouse_name = warehouse_name;
    }

    public String getParent_name() {
        return parent_name;
    }

    public void setParent_name(String parent_name) {
        this.parent_name = parent_name;
    }

    public String getParent_id() {
        return parent_id;
    }

    public void setParent_id(String parent_id) {
        this.parent_id = parent_id;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Integer getSort_num() {
        return sort_num;
    }

    public void setSort_num(Integer sort_num) {
        this.sort_num = sort_num;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getDr() {
        return dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }

    public String getTenant_id() {
        return tenant_id;
    }

    public void setTenant_id(String tenant_id) {
        this.tenant_id = tenant_id;
    }

    public String getPk_temp() {
        return pk_temp;
    }

    public void setPk_temp(String pk_temp) {
        this.pk_temp = pk_temp;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getModify_time() {
        return modify_time;
    }

    public void setModify_time(String modify_time) {
        this.modify_time = modify_time;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }
}
